package com.xique.door.command;

import com.xique.common.core.web.domain.AjaxResult;
import com.xique.door.bean.domain.AccessDevice;
import com.xique.door.bean.domain.DAdvert;

import java.util.List;

/**
 * @author: caogq
 * @Date: 2022/3/13 13:13
 * @Description:
 */
public interface IAdvertCommandBizService {
    /**
     * @description: 下发广告
     * @author caogq
     * @date: 2022/3/13 13:17
     * @Param
     */
    Object downAdvert(DAdvert advert,  List<String> devSns);

    /**
     * @description: 删除广告
     * @author caogq
     * @date: 2022/3/13 13:17
     * @Param
     */
    Object deleteAdvert(DAdvert advert, List<String> devSns);

    /**
     * @description: 清空广告
     * @author caogq
     * @date: 2022/3/13 13:17
     * @Param
     */
    Object clearAdvert(DAdvert advert, List<AccessDevice> accessDevices);
}
